package cn.auction.entity;

import java.util.Date;

public class EndAuction {
    //    <li>${end.auctionName }</li>
//    <li>${end.auctionStartTime }</li>
//    <li>${end.auctionEndTime}</li>
//    <li>${end.auctionStartPrice }</li>
//	        <li class="list-wd">${end.auctionPrice }</li>
//	        <li class="borderno red">${end.user.userName }</li>
    private Long auctionId;

    public Long getAuctionId() {
        return auctionId;
    }

    public void setAuctionId(Long auctionId) {
        this.auctionId = auctionId;
    }

    private String auctionName;
    private Date auctionStartTime;
    private Date auctionEndTime;
    private Double auctionStartPrice;
    private Double auctionPrice;
    private String userName;

    @Override
    public String toString() {
        return "EndAuction{" +
                "auctionName='" + auctionName + '\'' +
                ", auctionStartTime=" + auctionStartTime +
                ", auctionEndTime=" + auctionEndTime +
                ", auctionStartPrice=" + auctionStartPrice +
                ", auctionPrice=" + auctionPrice +
                ", userName='" + userName + '\'' +
                '}';
    }

    public EndAuction(){}

    public EndAuction(String auctionName, Date auctionStartTime, Date auctionEndTime, Double auctionStartPrice, Double auctionPrice, String userName) {
        this.auctionName = auctionName;
        this.auctionStartTime = auctionStartTime;
        this.auctionEndTime = auctionEndTime;
        this.auctionStartPrice = auctionStartPrice;
        this.auctionPrice = auctionPrice;
        this.userName = userName;
    }

    public String getAuctionName() {
        return auctionName;
    }

    public void setAuctionName(String auctionName) {
        this.auctionName = auctionName;
    }

    public Date getAuctionStartTime() {
        return auctionStartTime;
    }

    public void setAuctionStartTime(Date auctionStartTime) {
        this.auctionStartTime = auctionStartTime;
    }

    public Date getAuctionEndTime() {
        return auctionEndTime;
    }

    public void setAuctionEndTime(Date auctionEndTime) {
        this.auctionEndTime = auctionEndTime;
    }

    public Double getAuctionStartPrice() {
        return auctionStartPrice;
    }

    public void setAuctionStartPrice(Double auctionStartPrice) {
        this.auctionStartPrice = auctionStartPrice;
    }

    public Double getAuctionPrice() {
        return auctionPrice;
    }

    public void setAuctionPrice(Double auctionPrice) {
        this.auctionPrice = auctionPrice;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
